/**
 * @Author: QianMo
 * @Date: 2021/11/10 9:44
 * @Description:
 */
public class StringDemo {
    public static void main(String[] args) {
        String s = "qrscene_storeId:34";
        int indexOf = s.lastIndexOf(":");
        String substring = s.substring(0,indexOf);
        System.out.println(substring);
    }
}
